<link rel="stylesheet" type="text/css" href="/site/css/OrderPackageDetail.css" />
<div id="order-package">
    <div id="customer">
        <div id="customer-title">
            <strong><u><%t OrderPackageDetail.ss.BILLING_TO "Billing To" %></u></strong>
            $BillingAddress.TemplateHTML
        </div>
       
        <table id="meta">
            <tr>
                <td class="meta-head"><%t OrderPackageDetail.ss.ORDER_ID "Order ID" %></td>
                <td>#$ID ($Status.Title)</td>
            </tr>
            <tr>

                <td class="meta-head"><%t OrderPackageDetail.ss.DATE "Date" %></td>
                <td>$Created.Nice</td>
            </tr>
        </table>

    </div>
    <table id="items">
        <tr>
            <th class="item-name"><%t OrderPackageDetail.ss.ITEM "Item" %></th>
            <th class="qty"><%t OrderPackageDetail.ss.QUANTITY "Quantity" %></th>
            <th class="bv"><%t OrderPackageDetail.ss.BV "BV" %></th>
            <th class="price"><%t OrderPackageDetail.ss.PRICE "Price ({currency})" currency=$PaymentReceipt.Currency %></th>
        </tr>
        <tr>
            <td class="item-name">
                $Title
            </td>
            <td class="qty">1</td>
            <td class="bv">$BV.Nice</td>
            <td class="price">$Price.Nice</td>
        </tr>
        <tr>
            <td colspan="3" class="total-line"><%t OrderPackageDetail.ss.SUB_TOTAL "Sub Total" %></td>
            <td class="total-value">$Price.Nice</td>
        </tr>
        <% if $TotalTax > 0 %>
        <tr>
            <td colspan="3" class="total-line">$TaxCode ($TaxRate%)</td>
            <td class="total-value">$TotalTax.Nice</td>
        </tr>
        <% end_if %>
        <tr>
            <td colspan="3" class="total-line"><%t OrderPackageDetail.ss.GRAND_TOTAL "Grand Total" %></td>
            <td class="total-value">$Price.Nice</td>
        </tr>
    </table>
    <% if $PaymentReceipt %>
    	$PaymentReceipt.FullDetailHTML
    <% end_if %>
    <% if Format = HTML %>
        <div id="action">
        <% if PDFLink %>
            <a target="_blank" href="{$PDFLink}" title="<%t OrderPackageDetail.ss.DOWNLOAD_PDF "Download these details as PDF" %>"><img border="0" src="/site/images/pdf.gif" alt="<%t OrderPackageDetail.ss.DOWNLOAD_PDF "Download these details as PDF" %>" /></a>
        <% end_if %>
        <% if PrintLink %>
            <a target="_blank" class="print" href="{$PrintLink}" title="<%t OrderPackageDetail.ss.PRINT "Print this page" %>"><img src="/site/images/print.gif" border="0" alt="<%t OrderPackageDetail.ss.PRINT "Print this page" %>" /></a>
        <% end_if %>
        </div>
    <% end_if %>
</div>
